﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using System.Drawing;

namespace Pong
{
    public class Paddle  
    {
        public RectangleF PaddleObject = new RectangleF(0, 0, 1, 4);
        public bool ColisionX;
        public bool ColisionY;
        public float velocity; // ?? No Movment in here?!


        public void Render()
        {
            GL.PushMatrix();
            GL.Rect(PaddleObject.X, PaddleObject.Y, PaddleObject.X + PaddleObject.Width, PaddleObject.Y + PaddleObject.Height);
            GL.PopMatrix();
        }
    }
}
